//
//  Event.h
//  GoodWayClient
//
//  Created by HuiDong on 15/12/22.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Event : NSObject

@property (nonatomic,assign)int eventId;//自增主键
@property (nonatomic,strong)NSString *Title;//活动标题
@property (nonatomic,strong)NSString *Address;//活动地址
@property (nonatomic,strong)NSDate *BeginTime;//开始时间
@property (nonatomic,strong)NSDate *EndTime;//结束时间
@property (nonatomic,strong)NSDate *CreateTime;//创建时间
@property (nonatomic,strong)NSString *ImageUrl;//活动封面图片（相对路径，暂时不用）
@property (nonatomic,assign)int MaxCount;//报名名额数
@property (nonatomic,assign)int BMCount;//已报名数
@property (nonatomic,strong)NSString *Description;//活动描述（简单描述语）
@property (nonatomic,strong)NSString *Author;//发起人

+ (instancetype)EventWithDic:(NSDictionary *)dic;
- (instancetype)initWithDic:(NSDictionary *)dic;

@end
